package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Area;
import cn.wolfcode.trip.base.query.AreaQueryObject;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IAreaService {

    List<Area> selectAreaByParentId(QueryObject qo);

    void saveOrUpdate(Area area);

    List<Area> list();

    void deleteById(Long id);

    PageInfo query(AreaQueryObject qo);
}
